<template>
  <div class="bgi">
    <div class="_404">
      <h2 class="m-0">抱歉，页面迷路了</h2>
      <button class="btn">
        <a href="javascript:;" @click="goHome">首页</a>
      </button>
    </div>
  </div>
</template>
<script>
export default {
  name: "NF404",
  data() {
    return {};
  },
  methods: {
    goHome() {
      this.$router.push("/");
    },
  },
};
</script>
<style>
* {
  margin: 0;
  padding: 0;
}
._404 {
  padding-left: 200px;
  width: 40%;
  margin: 0 auto;
}

._404 a {
  text-decoration: none;
  color: #fff;
}

._404 a:hover {
  color: skyblue;
}
.m-0 {
  font-size: 50px;
  color: #fff;
}

.bgi {
  /* height: 1500px; */
  /* height: 969px; */
  height: 100vh;
  width: 100%;
  background: url(../../public/img/404.gif) no-repeat;
  background-size: 100%;
}
.btn {
  width: 200px;
  height: 60px;
  font-size: 40px;
  margin-top: 20px;
  margin-left: 100px;
  background-color: rgba(0, 0, 0, 0);
  border: 1px solid #fff;
}
</style>